;
(function (window, angular) {
    'use strict';
    angular.module("Controller.Enterprise", ["Controller.Enterprise.EnterpriseInfo", "Controller.Enterprise.Organize",
            "Controller.Enterprise.Role", "Controller.Enterprise.User", "Controller.Enterprise.NoticeBulletin",
            "Controller.Enterprise.DeliveryAddress", "Controller.Enterprise.ServiceStaffQuota", "Controller.Enterprise.DealerDictionary",
            "Controller.Enterprise.ExhibitionApply", "Controller.Enterprise.StoreApply", "Controller.Enterprise.WechatDocuments",
            "Controller.Enterprise.RatingManager", "Controller.Enterprise.Person", "Controller.Enterprise.AgentPerson", "Controller.Enterprise.AgentPersonConfig",
            "Controller.Enterprise.LoginLogs", "Controller.Enterprise.AgentLoginlogs",
            "Controller.Enterprise.Partner", "Controller.Enterprise.Technician", "Controller.Enterprise.Client"
        ])
        .config(['$stateProvider', function ($stateProvider) {

            $stateProvider.state("app.enterprise.enterpriseInfo", {
                is18n: true,
                url: "/enterpriseInfo",
                templateUrl: "view/enterprise/enterpriseInfo.html",
                controller: "EnterpriseInfoCtrl"
            });

            $stateProvider.state("app.enterprise.organize", {
                is18n: true,
                url: "/organize",
                templateUrl: "view/enterprise/organize.html",
                controller: "OrganizeCtrl"
            });

            $stateProvider.state("app.enterprise.role", {
                is18n: true,
                url: "/role",
                templateUrl: "view/enterprise/role.html",
                controller: "RoleCtrl"
            });

            $stateProvider.state("app.enterprise.user", {
                is18n: true,
                url: "/user",
                templateUrl: "view/enterprise/user.html",
                controller: "UserCtrl"
            });

            $stateProvider.state("app.enterprise.noticeBulletin", {
                is18n: true,
                url: "/noticeBulletin",
                templateUrl: "view/enterprise/noticeBulletin.html",
                controller: "NoticeBulletinCtrl"
            });

            $stateProvider.state("app.enterprise.receiverAddress", {
                is18n: true,
                url: "/deliveryAddress",
                templateUrl: "view/enterprise/deliveryAddress.html",
                controller: "DeliveryAddressCtrl"
            });

            $stateProvider.state("app.enterprise.serviceStaffQuota", {
                url: "/serviceStaffQuota",
                templateUrl: "view/enterprise/serviceStaffQuota.html",
                controller: "ServiceStaffQuotaCtrl"
            });

            $stateProvider.state("app.enterprise.dealerDictionary", {
                is18n: true,
                url: "/dealerDictionary",
                templateUrl: "view/enterprise/dealerDictionary.html",
                controller: "DealerDictionaryCtrl"
            });

            $stateProvider.state("app.enterprise.exhibitionApply", {
                url: "/exhibitionApply",
                templateUrl: "view/enterprise/exhibitionApply.html",
                controller: "ExhibitionApplyCtrl"
            });

            $stateProvider.state("app.enterprise.storeApply", {
                url: "/storeApply",
                templateUrl: "view/enterprise/storeApply.html",
                controller: "StoreApplyCtrl"
            });

            $stateProvider.state("app.enterprise.wechatDocuments", {
                url: "/wechatDocuments",
                templateUrl: "view/enterprise/wechatDocuments.html",
                controller: "WechatDocumentsCtrl"
            });

            $stateProvider.state("app.enterprise.ratingManager", {
                url: "/ratingManager",
                templateUrl: "view/enterprise/ratingManager.html",
                controller: "RatingManagerCtrl"
            });

            $stateProvider.state("app.enterprise.person", {
                url: "/person",
                templateUrl: "view/enterprise/person.html",
                controller: "PersonCtrl"
            });

            $stateProvider.state("app.enterprise.agentPerson", {
                url: "/agentPerson",
                templateUrl: "view/enterprise/agentPerson.html",
                controller: "AgentPersonCtrl"
            });

            $stateProvider.state("app.enterprise.agentPersonConfig", {
                url: "/agentPersonConfig",
                templateUrl: "view/enterprise/agentPersonConfig.html",
                controller: "AgentPersonConfigCtrl"
            });

            $stateProvider.state("app.enterprise.loginlogs", {
                url: "/loginlogs",
                templateUrl: "view/enterprise/loginlogs.html",
                controller: "LoginLogsCtrl"
            });

            $stateProvider.state("app.enterprise.agentLoginlogs", {
                url: "/agentLoginlogs",
                templateUrl: "view/enterprise/agentLoginlogs.html",
                controller: "AgentLoginlogsCtrl"
            });

            $stateProvider.state("app.enterprise.partner", {
                url: "/partner",
                templateUrl: "view/enterprise/partner.html",
                controller: "PartnerCtrl"
            });

            $stateProvider.state("app.enterprise.technician", {
                url: "/technician",
                templateUrl: "view/enterprise/technician.html",
                controller: "TechnicianCtrl"
            });

            $stateProvider.state("app.enterprise.client", {
                url: "/bindClient",
                templateUrl: "view/enterprise/bindClient.html",
                controller: "BindClientCtrl"
            });
        }]);
})(window, window.angular);